import Vue from 'vue'
import Router from 'vue-router'
import home from '../components/home'
import customer from '../components/customerList'
import QRCode from '../components/QRCode'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/customer',
      name: 'customer',
      component: customer
    },
    {
      path: '/QRCode',
      name: 'QRCode',
      component: QRCode
    }
  ]
})
